import Vue from 'vue'
import Router from 'vue-router';
import Product from '../components/Product';
import Cart from '../components/Cart';
import Login from '../components/login/index';
Vue.use(Router);

export default new Router({
  mode: 'history',
  routes: [
    {
      path:"/Product",
      name:"Product",
      component:Product
    },{
      path:"/Cart",
      name:'Cart',
      component:Cart
    },
    {
      path:'/',
      name:'Login',
      component:Login
    }
  ]
})
